package com.ndp.fb.rdb.model.adpublishcondition;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import com.ndp.fb.rdb.annotation.Id;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Evan on 2015/3/23.
 */
@Setter
@Getter
@NoArgsConstructor
public class AdPublishCondition implements Serializable {
    @Id
    private Long id;
    //column:user_id
    private String userId;
    @Column(value = "connection_object_id")
    private Long fbConnectionObjectId;
    @Column("connection_object_name")
    private String connObjName;
    @Column(value = "product_configuration_id")
    private Long prodCfgId;
    @Column("platform")
    private String prodCfgName;

    //column:product_type
    private String productType;

    //column:status
    private Boolean status;

    //column:operation_status
    private Integer operationStatus;

    //column:create_time
    @Column(type = ColumnType.Time)
    private Date createTime;

    //column:create_utc_time
    private Long createUtcTime;

    //column:update_time
    @Column(type = ColumnType.Time)
    private Date updateTime;

    //column:update_utc_time
    private Long updateUtcTime;
}
